﻿<@layout src="Page/Layout.htm" /@>

    <h3>特殊的路径占位符</h3>

    <ol>
        <li>应用程序路径:==>>{~}/<<==</li>
        <li>模板基准路径:==>>{^}/<<==</li>
    </ol>
    <h3>注释和字段</h3>
    <ol>
        <li>这里是注释的开始==>>{*看见这里的内容就说明注释解释出错了*}<<==这里是注释的结束。</li>
        <li>ViewBag.TestValue:<strong>{=ViewBag.TestValue=}</strong></li>
        <li>QueryString.TestValue:<strong>{=QueryBag.TestValue=}</strong></li>
    </ol>
{%
from System import *
HtmlWriter.Write(" Write by HtmlWriter ")
def sum(a,b):
    if a==1 :
        a+=2
    return a+b
%}
    sum: {=sum(5,9)=}

<@place name="body"></place@>
